Installation

Last post 12-06-2012, 12:23 PM by FirstSignInNoGood. 7 replies.
Sort Posts: Previous Next
  •  12-06-2012, 10:15 AM 75397

    Installation

    I am having a look at this as a possible replacement for a Dart PowerWeb TextBox.

     

    The installation looks similar - some dlls for the bin, some client files, a license file and something in the httpmodule in web.config

     

    I have had nothing but problems trying to get the Dart Textbox running in new sites - or when I changed to Framework 4.0 ... I'm wondering if people have the same issues with Cute Editor?

     

    And, on your deployment page it says: 'The "CuteSoft_Client" folder and all file it contains should be deployed to http://{your site}/{your application}/ on your web site.'

     

    So, just to be clear - the CuteSoft_Client folder goes into your site in the same way as you might have a js or css folder for your scripts and styles?

  •  12-06-2012, 11:05 AM 75398 in reply to 75397

    Re: Installation

    CuteSoft.net is running windows 8 and Framework 4.0. It should not have any problems with Framework 4.0.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-06-2012, 11:09 AM 75399 in reply to 75397

    Re: Installation

    >>So, just to be clear - the CuteSoft_Client folder goes into your site in the same way as you might have a js or css folder for your scripts and styles?

     

    Correct. It contains all the necessary scripts (aspx files, css files, images and javascript files).


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-06-2012, 11:26 AM 75400 in reply to 75399

    Re: Installation

    I will be using the text box to allow users to generate html formatted text to use as the body of an email. I also need to send a plain version.

     

    Can you access both on postback? Like:

     

    string HtmlFormattedText = CuteEditor.Text;

    strong PlainText = CuteEditor.TextPlain;

     

    ? Something like that?

     

    Is there a trial I can download and try?

  •  12-06-2012, 11:46 AM 75401 in reply to 75400

    Re: Installation

    Please ignore. Have downloaded and am trying now.

     

    How do get the look of the box on this page? With Common icons, Format Icons, Paragraph icons grouped in rectangles? I don't see an icon for pasting from Word. Guess you just paste? (Some boxes have a Word icon you are supposed to click to clean Word's html - they don't work very will - hoping this one does.

  •  12-06-2012, 11:46 AM 75402 in reply to 75400

    Re: Installation

    Please ignore. Have downloaded and am trying now.

     

    How do get the look of the box on this page? With Common icons, Format Icons, Paragraph icons grouped in rectangles? I don't see an icon for pasting from Word. Guess you just paste? (Some boxes have a Word icon you are supposed to click to clean Word's html - they don't work very will - hoping this one does.

  •  12-06-2012, 11:55 AM 75403 in reply to 75400

    Re: Installation

    Hi FirstSignInNoGood,

     

    you can get the editor content when postback like  string HtmlFormattedText = CuteEditor.Text;

     

    And you can get the plain text like the example below

     

    1. <%@ Page Language="C#" AutoEventWireup="true" %> 
    2.  
    3. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %> 
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
    5.  
    6. <script runat="server"
    7.  
    8.     protected void button1_Click(object sender, EventArgs e) 
    9.     { 
    10.  
    11.         text1.Text = EditorUtility.ConvertToXmlDocument(editor1.XHTML).InnerText; 
    12.  
    13.     } 
    14. </script> 
    15.  
    16. <html xmlns="http://www.w3.org/1999/xhtml"
    17. <head id="Head1" runat="server"
    18.     <title></title> 
    19. </head> 
    20. <body> 
    21.     <form id="form1" runat="server"
    22.         <CE:Editor ID="editor1" runat="server"
    23.         </CE:Editor> 
    24.         <asp:TextBox ID="text1" runat="server" Width="600px"></asp:TextBox> 
    25.         <asp:Button ID="button1" runat="server" Text="Get plain text" OnClick="button1_Click" 
    26.             OnClientClick="GetPlainText()" /> 
    27.     </form> 
    28. </body> 
    29. </html> 
     

    You can downlaod the trial demo at http://cutesoft.net/downloads/folders/21904/download.aspx

     

    Regards,

     

    Ken

  •  12-06-2012, 12:23 PM 75406 in reply to 75403

    Re: Installation

    Hi Ken

    Thanks for that. As a matter of curiousity, why didn't you say you can get the html text and plain text like this?

     

    protected void btnSend_Click(object sender, EventArgs e)

    {

    string htmlText = Editor1.Text;

    string plainText = Editor1.PlainText;

    }

     

    Couple of formatting issues. If I create text in Outlook using Word as the text Editor, when I paste it into the text box and I have said 'yes, I do want my Word text cleaned' .... bullets are appearing with no indent. If you look at the html they are as you would expect - just a pure unordered list.

     

    But if I put some bullets in here, in this textbox on this page ...

    • one
    • two
    • three

    they appear indented.

     

    Which I don't understand. The source here shows an unordered list. If I clean a Word document that has bullets - it turns them into an unordered list (i.e. identical html) but they are not indented. Is there some default css at work on this page that does not get 'called' after you clean Word generated text.

     

    Also, if I make one word in a sentence bold in a Word document and paste into the CuteEditor, clean the Word formatting - the space between the bold word and the next word disappears. Which is a bit of a drag as my clients use lots of bold formatting.

View as RSS news feed in XML